﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace GradeMerge
{
    public partial class frmPoints : Form
    {
        public double Points = -1;
        public frmPoints(string colText)
        {
            InitializeComponent();
            lblAssignment.Text = String.Format("Total Points Possible for {0}:", String.IsNullOrEmpty(colText) ? "this Assignment" : colText);
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            double.TryParse(txtPoints.Text, out Points);
        }
    }
}
